using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_hotel
    {
        private int? _id;
        private string _htldomain = String.Empty;
        private string _htlname = String.Empty;
        private int? _pid;
        private int? _pid_e;
        private int? _gid;
        private string _inuser = String.Empty;
        private DateTime? _indate;

        public hfg_hotel()
        {
        }

       

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _htldomain = reader.GetString(1);
        //        if (!reader.IsDBNull(2)) _htlname = reader.GetString(2);
        //        if (!reader.IsDBNull(3)) _pid = reader.GetInt32(3);
        //        if (!reader.IsDBNull(4)) _pid_e = reader.GetInt32(4);
        //        if (!reader.IsDBNull(5)) _gid = reader.GetInt32(5);
        //        if (!reader.IsDBNull(6)) _inuser = reader.GetString(6);
        //        if (!reader.IsDBNull(7)) _indate = reader.GetDateTime(7);
        //    }
        //}

       
        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string htldomain
        {
            get { return _htldomain; }
            set { _htldomain = value; }
        }

        public string htlname
        {
            get { return _htlname; }
            set { _htlname = value; }
        }

        public int? pid
        {
            get { return _pid; }
            set { _pid = value; }
        }

        public int? pid_e
        {
            get { return _pid_e; }
            set { _pid_e = value; }
        }

        public int? gid
        {
            get { return _gid; }
            set { _gid = value; }
        }

        public string inuser
        {
            get { return _inuser; }
            set { _inuser = value; }
        }

        public DateTime? indate
        {
            get { return _indate; }
            set { _indate = value; }
        }
        #endregion

       
    }
}
